﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using F10101CM.Common;
using F10101CM.Control;
namespace HDVN_F1_101
{
    public partial class frmMainForm : Form
    {
        public frmMainForm()
        {
            InitializeComponent();
        }

        private void cậpNhậtCácFileToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void chínhSáchBanĐiềuHànhToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void cácDanhMụcToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HDVN_F1_101.Common.frmHeThongDanhMuc f = new Common.frmHeThongDanhMuc();
            f.Show();
            f.MdiParent = this;
        }

        private void frmMainForm_Load(object sender, EventArgs e)
        {

        }

        private void frmMainForm_FormClosed(object sender, FormClosedEventArgs e)
        {
          
            Application.Exit();
        }

        private void thêmMớiĐoànSinhToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HDVN_F1_101.HDS.frmEditScoutMaster fDoanSinh = new HDS.frmEditScoutMaster(false);
            fDoanSinh.Show();
            fDoanSinh.MdiParent = this;
        }

        private void danhSáchĐoànSinhToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DV.frmDanhSachDoanSinh ds = new DV.frmDanhSachDoanSinh();

            ds.Show();
            ds.MdiParent = this;
            ds.WindowState = FormWindowState.Maximized;
        }

        private void chuyểnSinhHoạtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HDS.frmChuyenSinhHoat chuyen = new HDS.frmChuyenSinhHoat();

            chuyen.ShowDialog();
            chuyen.MdiParent = this;
        }
    }
}
